package com.wisdytech.linkdcs.equipment.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Yanghu
 * @since 2017-09-16
 */
@TableName("tt_eq_status")
public class Status extends Model<Status> {

    private static final long serialVersionUID = 1L;
    @TableId("PK_ID")
	private String pkId;
	@TableField("EQUIP_CODE")
	private String equipCode;
	@TableField("EQUIP_STATUS")
	private Integer equipStatus;
	@TableField("START_TIME")
	private Date startTime;
	@TableField("END_TIME")
	private Date endTime;
	/**
	 * 停机总时长
	 */
	@TableField("STOP_TIME_NUM")
	private Long stopTimeNum;
	/**
     * 删除标记
     */
    @TableField("DEL_FLAG")
    private String delFlag;
    /**
     * 记录创建人
     */
    @TableField("CREATE_USER")
    private String createUser;
    /**
     * 记录创建时间
     */
    @TableField("CREATE_DATE")
    private Date createDate;
    /**
     * 记录更新人
     */
    @TableField("UPDATE_USER")
    private String updateUser;
    /**
     * 记录更新时间
     */
    @TableField("UPDATE_DATE")
    private Date updateDate;
    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;

    /**
     * 设备名称
     */
    @TableField(exist=false)
    private String equipName;
    
    /**
     * 工序名称
     */
    @TableField(exist=false)
    private String operationName;
    
    /**
     * 设备状态
     */
    @TableField(exist=false)
    private String status;

    public String getOperationName() {
        return operationName;
    }

    public void setOperationName(String operationName) {
        this.operationName = operationName;
    }

    public String getEquipCode() {
        return equipCode;
    }

    public void setEquipCode(String equipCode) {
        this.equipCode = equipCode;
    }

    public String getEquipName() {
        return equipName;
    }

    public void setEquipName(String equipName) {
        this.equipName = equipName;
    }

    public String getPkId() {
		return pkId;
	}

	public void setPkId(String pkId) {
		this.pkId = pkId;
	}


	public Integer getEquipStatus() {
		return equipStatus;
	}

	public void setEquipStatus(Integer equipStatus) {
		this.equipStatus = equipStatus;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	
	public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    
    

    public Long getStopTimeNum() {
		return stopTimeNum;
	}

	public void setStopTimeNum(Long stopTimeNum) {
		this.stopTimeNum = stopTimeNum;
	}

	@Override
	protected Serializable pkVal() {
		return this.pkId;
	}

}
